# -*- coding:utf-8 -*-
# @Script: __init__.py
# @Author: ystlong
# @Email: ystlong@163.com
# @Create At: 2019-10-08 20:02:20
# @Last Modified By: ystlong
# @Last Modified At: 2019-10-08 20:35:13
# @Description: This is description.

import sys
import os

abs_file_path = os.path.realpath(__file__)
abs_file_dir = os.path.dirname(abs_file_path)

_3rpt_modules = ("mysql_connector_python-8.0.17", "SQLAlchemy-1.3.8/lib")

for module_path in _3rpt_modules:
    sys.path.insert(0, os.path.join(abs_file_dir, module_path))


def main():
    res_env_str = ""
    for module_path in _3rpt_modules:
        res_env_str += ":%s" % (os.path.join(abs_file_dir, module_path))
    print("export PYTHONPATH=%s:$PYTHONPATH" % (res_env_str.strip()))


if __name__ == "__main__":
    main()
